<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="/static/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<input type="button" id="btn" value="获取" />
		<div id="div" style="height: 5000px;background: red;">
			你好
		</div>
		<script type="text/javascript">
			$(function(){
				$('#btn').click(function(){
					$.ajax({
						type:"get",
						url:"/type.php",
						success:function(mgs){
							$('#div').html(mgs);
						}
					});
				});
			});
		</script>
	</body>
</html>
